<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta charset="utf-8">
	<title>找回密码 - 管理员系统</title>
	<!-- 引入Pacifico字体（Google Fonts） -->
	<link rel="preconnect" href="https://fonts.googleapis.com">
	<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
	<link href="https://fonts.googleapis.com/css2?family=Pacifico&display=swap" rel="stylesheet">
	<style>
		/* 全局样式重置与基础设置 */
		* {
			margin: 0;
			padding: 0;
			box-sizing: border-box;
			/* 科技风鼠标指针（可选） */
			cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><circle cx="8" cy="8" r="3" fill="%239FBFA7"/><path d="M8 1C4.13 1 1 4.13 1 8s3.13 7 7 7 7-3.13 7-7-3.13-7-7-7z" fill="none" stroke="%239FBFA7" stroke-width="1.5"/></svg>'), auto;
		}

		body {
			/* 米白色背景 + 轻微渐变，增强层次感 */
			background-color: #F5F2EB;
			background-image: linear-gradient(120deg, #F5F2EB 0%, #E8E4D8 100%);
			min-height: 100vh;
			display: flex;
			justify-content: center;
			align-items: center;
			/* 科技风背景点（低透明度，不干扰主体） */
			background-image:
					radial-gradient(#9FBFA7 0.5px, transparent 0.5px),
					radial-gradient(#9FBFA7 0.5px, #F5F2EB 0.5px);
			background-size: 20px 20px;
			background-position: 0 0, 10px 10px;
			background-opacity: 0.2;
		}

		/* 表单容器：科技风卡片效果 */
		.pwd-container {
			width: 35%;
			min-width: 320px;
			padding: 40px 30px;
			/* 雾霾绿主色调卡片 + 渐变 */
			background-color: #9FBFA7;
			background-image: linear-gradient(145deg, #A8C7B0 0%, #8EAFA0 100%);
			border-radius: 12px;
			/* 科技风阴影：多层阴影增强立体感 */
			box-shadow:
					0 8px 24px rgba(159, 191, 167, 0.2),
					0 0 12px rgba(255, 255, 255, 0.3) inset,
					0 2px 6px rgba(0, 0, 0, 0.05);
			/* 轻微发光效果，突出科技感 */
			position: relative;
			overflow: hidden;
		}

		/* 容器顶部科技风装饰线 */
		.pwd-container::before {
			content: "";
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 4px;
			background: linear-gradient(90deg, #F5F2EB 0%, #CAD8D0 50%, #F5F2EB 100%);
		}

		/* 标题样式 */
		.pwd-container h3 {
			font-family: 'Pacifico', cursive;
			color: #F5F2EB;
			font-size: 28px;
			text-align: center;
			margin-bottom: 30px;
			/* 标题阴影，增强可读性 */
			text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
			letter-spacing: 1px;
		}

		/* 表单样式 */
		.pwd-form {
			display: flex;
			flex-direction: column;
			gap: 20px;
			align-items: center;
		}

		/* 输入框样式：科技风简洁款 */
		.pwd-form input[type="text"] {
			width: 260px;
			height: 42px;
			padding: 0 15px;
			background-color: rgba(245, 242, 235, 0.9);
			border: 1px solid rgba(255, 255, 255, 0.5);
			border-radius: 8px;
			font-family: 'Pacifico', cursive;
			color: #5A6B62;
			font-size: 16px;
			/* 输入框聚焦效果：科技风边框发光 */
			transition: all 0.3s ease;
			box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) inset;
		}

		.pwd-form input[type="text"]:focus {
			outline: none;
			border-color: #F5F2EB;
			box-shadow:
					0 0 0 2px rgba(245, 242, 235, 0.6),
					0 2px 8px rgba(0, 0, 0, 0.1);
		}

		/* 错误信息样式：保留原有逻辑，美化视觉 */
		.error-tip {
			/*display: #(emailError ? 'flex':'block');*/
			font-family: 'Pacifico', cursive;
			color: #F8ECE0; /* 浅暖色，既醒目又不刺眼 */
			font-size: 14px;
			margin-top: -10px;
			margin-bottom: 5px;
			text-align: center;
			/* 错误信息轻微抖动动画（有错误时触发） */
			animation: shake 0.5s ease #(errorInfo ? 'running':'none');
		}

		/* 按钮样式：科技风渐变按钮 */
		.pwd-form input[type="submit"] {
			width: 260px;
			height: 45px;
			background-color: #F5F2EB;
			background-image: linear-gradient(145deg, #F5F2EB 0%, #E0DCD0 100%);
			border: none;
			border-radius: 8px;
			font-family: 'Pacifico', cursive;
			color: #5A6B62;
			font-size: 18px;
			font-weight: 500;
			cursor: pointer;
			/* 按钮 hover 效果：科技风缩放+阴影变化 */
			transition: all 0.3s ease;
			box-shadow:
					0 4px 8px rgba(0, 0, 0, 0.08),
					0 0 0 rgba(245, 242, 235, 0) inset;
		}

		.pwd-form input[type="submit"]:hover {
			transform: translateY(-2px);
			box-shadow:
					0 6px 12px rgba(0, 0, 0, 0.12),
					0 0 10px rgba(245, 242, 235, 0.4) inset;
		}

		.pwd-form input[type="submit"]:active {
			transform: translateY(0);
			box-shadow:
					0 2px 4px rgba(0, 0, 0, 0.08),
					0 0 5px rgba(245, 242, 235, 0.2) inset;
		}

		/* 错误信息抖动动画 */
		@keyframes shake {
			0%, 100% { transform: translateX(0); }
			20% { transform: translateX(-3px); }
			40% { transform: translateX(3px); }
			60% { transform: translateX(-2px); }
			80% { transform: translateX(2px); }
		}

		/* 响应式适配：小屏幕优化 */
		@media (max-width: 768px) {
			.pwd-container {
				width: 85%;
				padding: 30px 20px;
			}
			.pwd-form input[type="text"],
			.pwd-form input[type="submit"] {
				width: 220px;
			}
		}
	</style>
</head>
<body>
<!-- 表单容器 -->
<div class="pwd-container">
	<h3>找回密码</h3>
	<form action="/admin/forghtPwd" method="post" class="pwd-form">
		<input type="text" name="adminEmail" placeholder="请输入邮箱" />
		<!-- 保留原有错误信息标签逻辑，仅添加class美化 -->
		<span class="error-tip" style="display: #(emailError ? 'flex':'block')">#(emailError ??)</span>
		<input type="submit" value="发送" />
	</form>
</div>
</body>
</html>